
#include <GL/glew.h>
#include <GL/glut.h>

#include <iostream>

#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
#include "Render.h"
#include "Ray.h"
#include "Geometry.h"



using namespace std;

#ifndef WindowHandler_H
#define WindowHandler_H

class WindowHandler
{
public:
    WindowHandler(void);
    ~WindowHandler(void);

    void display();
    void idle();
    void init();

    void renderToWindow();


private:

    int windowWidth, windowHeight, size;
    Render *render;



    //Stuff for the first pass
    GLuint positionTexID; //Add necessary textures

    int textureSize;
    int nrOfVertices;

    float SPHERE_RADIUS;
    float PI;
    int buttonPressed;


};
#endif

